ComboBox: Don’t popdown if releasing on scrollbar
authorDaniel Boles <dboles@src.gnome.org>
Mon, 4 Sep 2017 22:41:53 +0000 (23:41 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Mon, 4 Sep 2017 22:59:56 +0000 (23:59 +0100)
commit99e27ab1455d917840032aa961aac8159a9937c7
tree902dea93947684943c479de1fc3bcca886e94d11
parent2e866ca29330959990098933839e72152abaa779
ComboBox: Don’t popdown if releasing on scrollbar

On button release, we were popping down if the event widget was anything
but priv->button. This broke scrolling by clicking a mouse button, i.e.
when releasing a click in the trough or finishing a drag of either bar.
That’s unexpected, inconvenient, and pointless. So, let’s stop doing it.

https://bugzilla.gnome.org/show_bug.cgi?id=738893
gtk/gtkcombobox.c